package com.yuchains.seckill.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Hermès
 * @date 2020/09/20
 */
@Controller
@RequestMapping("/v1")
public class RegisterController {

    @RequestMapping("/do_login")
    public String loginIndex(Model model) {
        model.addAttribute("count", 100000);
        return "login";
    }

    /**
     * 注册页面
     * @return
     */
    @RequestMapping("/registerv2")
    public String register(){
        return "register2";
    }
}
